#ifndef REGISTER_H
#define REGISTER_H

#include <QDialog>
#include <QMessageBox>
#include "networkconfig.h"

namespace Ui {
class Register;
}

class Register : public QDialog
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    ~Register();

private slots:
    void on_radioButton_clicked(bool checked);

    void on_register_pushButton_clicked();

    void on_nickname_lineEdit_textChanged(const QString &nickname);

    void on_password_lineEdit_textChanged(const QString &password);

    void on_password_confirm_lineEdit_textChanged(const QString &confirmPassword);

private:
    Ui::Register *ui;
    QString nickname;
    QString password;
    QString confirmPassword;
    QString nicknameContent;
    QString passwordContent;
    QString confirmPasswordContent;
};

#endif // REGISTER_H
